//
//  XIndexPage.h
//  food
//
//  Created by XmaMini on 2019/4/15.
//  Copyright © 2019年 XmaMini. All rights reserved.
//

#ifndef XIndexPage_h
#define XIndexPage_h
#import "QDCommonListViewController.h"
#import "QMUITableViewCell.h"

@class XIndexItemDelegate;
@class XIndexItemView;

@protocol XIndexItemDelegate <NSObject>
//
//@required
///// 点击相簿里某一行时，需要给一个 QMUIImagePickerViewController 对象用于展示九宫格图片列表
//- (QMUIImagePickerViewController *)imagePickerViewControllerForAlbumViewController:(QMUIAlbumViewController *)albumViewController;

@end

@interface XIndexItemView : QMUITableViewCell
    @property (nonatomic, weak) IBOutlet UIImageView *mImageView;    //缩略图
    @property (nonatomic, weak) IBOutlet UILabel *mName;
    @property (nonatomic, weak) IBOutlet UILabel *mDesc;
@end

@interface XIndexPage : QDCommonListViewController
    @property (nonatomic) NSArray *_config;
    @property (nonatomic) NSString *_title;
    @property (nonatomic) int showType;
    @property (nonatomic) int showCount;
    -(id)changeimagetocilce:(UIImage*)image;
@end
#endif /* XIndexPage_h */
